export const basicComponents = [{
        name: '图表',
        type: 'echart',
        icon: 'line-chart-line',
        options: {
            dbId: null,
            resource: '1',
            type: 'line',
            remote: true,
            height: 300,
        },
    },

    {
        name: '子表格',
        type: 'table',
        icon: 'table-2',
        options: {
            remote: true,
            dbId: null,
            resource: '1',
            tableSetting: [],
            panelPadding: 0,
            isPagination: false, //分页
            serialNumberVisible: true, // 序号
        },
    },
    {
        name: '列表',
        type: 'list',
        icon: 'bar-chart-grouped-fill',
        options: {
            remote: true,
            defaultValue: [],
            resource: '1',
            sql: 'SELECT id,flowId, title, stepName ,creatorName, CreationTime FROM `wf_flowtasks`  limit 0,5',
            dbId: 'ce91cc3e-58fb-200d-51fc-39fa7895033f',
            needPicture: false,
            pictureSrc: '',
            needHead: true,
            headSrc: '',
            // title: 'ant design vue part',
            // content: 'Ant Design, a design language for background applications, is refined by Ant UED Team.',

        },
    },
    {
        name: '标签组',
        type: 'tagGroup',
        icon: 'pie-chart-2-line',
        options: {
            gutter: 0,
            dbId: 'ce91cc3e-58fb-200d-51fc-39fa7895033f',
            sql: 'SELECT f1,count(1) f2 FROM `testdbsub2` GROUP BY f1',
            resource: '1',
            brRadious: 4, //边框圆角
            columns: [{
                    span: 8,
                    offset: 0,
                    bgColor: '#32A932',
                    topTitle: '32A932',
                    middleTitle: '32A932',
                    bottomTitle: '32A932',
                    icon: 'apps-line',
                    dataResource: 'before',
                },
                {
                    span: 8,
                    offset: 0,
                    bgColor: '#32A932',
                    topTitle: 'AAAAA',
                    middleTitle: '12B342',
                    bottomTitle: 'BBBBB',
                    icon: 'apps-line',
                    dataResource: 'before',
                },
            ],
        },
    },
]